package cn.denny.designpattern.decorator;

public class Client {

	public static void main(String[] args){
		Person p = new Person("zzy");
		Decorator A= new DecoratorA();
		Decorator B = new DecoratorB();
		A.setDecorator(p);
		B.setDecorator(A);
		B.show();
	}
}
